#pragma once

#include "Containers/Any.h"

class CGSharpClass;
class CGSharpFieldValuesContainer;

class WHENGINE_API  CScriptContent
{
public:
    CScriptContent(CGSharpClass* InClass);


    void SetNonStaticField(uint32_t FieldIndex, CAny&& InValue);

    const CAny& GetNonStaticField(uint32_t FieldIndex);

    CGSharpClass * GetClass() const;

    CGSharpFieldValuesContainer* GetNonStaticFieldValues() const;
protected:
    CGSharpClass * Class=nullptr;
    CGSharpFieldValuesContainer* FieldValues = nullptr;

};